home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
- <plist version="1.0">
- <dict>
- <key>Type</key>
- <string>Upgrade</string>
- <key>PhaseList</key>
- <array>
- <dict>
- <key>Phase</key>
- <string>Upgrade Application</string>
- <key>ActionList</key>
- <array>
- <dict>
- <key>Action</key>
- <string></string>
- <key>infoMsg</key>
- <string>Upgrade Application</string>
- <key>CommandList</key>
- <array>
- <dict>
- <key>command</key>
- <string>curl SDHTTPproxy.Host --silent --show-error --output /tmp/superduper.tar.gz -L SDdownloadURL</string>
- <key>infoMsg</key>
- <string>Downloading update package...</string>
- <key>parseMethod</key>
- <string>indeterminate:</string>
- </dict>
- <dict>
- <key>command</key>
- <string>cd /tmp; tar xzf superduper.tar.gz; rm /tmp/superduper.tar.gz</string>
- <key>infoMsg</key>
- <string>Uncompressing upgrade package</string>
- </dict>
- <dict>
- <key>command</key>
- <string>installer -allow -verboseR -pkg '/tmp/SuperDuper!.pkg' -target / >&1 2>&1; chown 0:80 /Applications/Utilities; chmod 40775 /Applications/Utilities</string>
- <key>infoMsg</key>
- <string>Installing upgrade package</string>
- <key>parseMethod</key>
- <string>installPackage:</string>
- </dict>
- <dict>
- <key>command</key>
- <string>ditto -rsrc '/Applications/Utilities/SuperDuper!.app' '/tmp/SuperDuper!.app'</string>
- <key>infoMsg</key>
- <string>Copying upgrade bundle to temporary location</string>
- </dict>
- <dict>
- <key>command</key>
- <string>rm -rf SDAppBundle.'Path; ditto -rsrc '/tmp/SuperDuper!.app' SDAppBundle.'Path; chown -R SDUser.uid SDAppBundle.'Path</string>
- <key>infoMsg</key>
- <string>Copying upgrade bundle to installation location AppBundlePath</string>
- </dict>
- <dict>
- <key>command</key>
- <string>rm -rf '/tmp/superduper.tar.gz' '/tmp/SuperDuper!.pkg' '/tmp/SuperDuper!.app'; if [ SDAppBundle.'Path != '/Applications/Utilities/SuperDuper!.app' ]; then rm -rf '/Applications/Utilities/SuperDuper!.app'; fi</string>
- <key>infoMsg</key>
- <string>Cleaning up installation items</string>
- </dict>
- <dict>
- <key>command</key>
- <string>sleep 1</string>
- <key>infoMsg</key>
- <string>Re-launching SuperDuper! in 3 seconds to complete upgrade</string>
- </dict>
- <dict>
- <key>command</key>
- <string>sleep 1</string>
- <key>infoMsg</key>
- <string>Re-launching SuperDuper! in 2 seconds to complete upgrade</string>
- </dict>
- <dict>
- <key>command</key>
- <string>sleep 1</string>
- <key>infoMsg</key>
- <string>Re-launching SuperDuper! in 1 second to complete upgrade</string>
- </dict>
- <dict>
- <key>command</key>
- <string>kill -SIGQUIT `ps wwax pid,command | grep 'SuperDuper! ' | grep -v grep | awk '{print $1}'`; open SDAppBundle.'Path</string>
- <key>infoMsg</key>
- <string>Re-launching SuperDuper!</string>
- </dict>
- </array>
- </dict>
- </array>
- </dict>
- </array>
- </dict>
- </plist>
-